package com.snap.awesomeserial.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.protostuff.Tag;

public class NAStep implements Serializable {
    @Tag(1)
    private int index;//孔位 1-6

    @Tag(2)
    private String name;//名称

    @Tag(3)
    private int waitTime;//等待时间0-30分钟

    @Tag(4)
    private int mixtureTime;//混合时间1-30分钟

    @Tag(5)
    private int volume;//容积100-1000微升

    @Tag(6)
    private int mixtureSpeed;//混合速度1-3

    @Tag(7)
    private int magnetTime;//磁吸时间0-120s

    @Tag(8)
    private float temperature;//温度（40-80°C）

    @Tag(9)
    private List<NAAction> actions;//步骤下的具体动作
    @Tag(10)
    private boolean isChecked=true;
    @Tag(11)
    private  boolean isChoose=true;


    public NAStep() {
    }

    public NAStep(int index, String name, int waitTime, int mixtureTime, int volume, int mixtureSpeed, int magnetTime, float temperature) {
        this.index = index;
        this.name = name;
        this.waitTime = waitTime;
        this.mixtureTime = mixtureTime;
        this.volume = volume;
        this.mixtureSpeed = mixtureSpeed;
        this.magnetTime = magnetTime;
        this.temperature = temperature;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWaitTime() {
        return waitTime;
    }

    public void setWaitTime(int waitTime) {
        this.waitTime = waitTime;
    }

    public int getMixtureTime() {
        return mixtureTime;
    }

    public void setMixtureTime(int mixtureTime) {
        this.mixtureTime = mixtureTime;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public int getMixtureSpeed() {
        return mixtureSpeed;
    }

    public void setMixtureSpeed(int mixtureSpeed) {
        this.mixtureSpeed = mixtureSpeed;
    }

    public int getMagnetTime() {
        return magnetTime;
    }

    public void setMagnetTime(int magnetTime) {
        this.magnetTime = magnetTime;
    }

    public float getTemperature() {
        return temperature;
    }

    public void setTemperature(float temperature) {
        this.temperature = temperature;
    }

    public List<NAAction> getActions() {
        return actions;
    }

    public void setActions(List<NAAction> actions) {
        this.actions = actions;
    }
}
